<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html">
		<title>MLocation</title>
		<link href="styles.css" rel="stylesheet" type="text/css">
		<link href="styles_class.css" rel="stylesheet" type="text/css">
	</head>

	<body>
		<div id="container">
			<div id="header"><span>
				<p><a href="http://mjs.darkgreenmedia.com">mjs.darkgreenmedia.com</a></p>
				<p><a href="index.html">back</a></p>
				</span>
			</div>

		<div class="block1">
			<div class="title"><h2>Name</h2></div>
			<div class="block2"><p class="name">MLocation</p></div>
		</div>

		<div class="block1">
			<div class="title"><h2>Examples</h2></div>
			<div class="block2">
				<div class="sample">
					<pre>
import mjs.processing.mobile.mlocation.*;
				
double[] coords = new double[2];
MLocation.location(coords);

int latitude = (int) (coords[0] * 10000);
int longitude = (int) (coords[1] * 10000);

text("Latitude : " + latitude,10,10);
text("Longitude : " + longitude,10,20);
					</pre>
    				<br/>
	  			</div>
			</div>
		</div>
  
  
		<div class="block1">
			<div class="title"><h2>Description</h2></div>
			<div class="block2">Location provides access to the current location.</div>
		</div>


		<div class="block1">
			<div class="title"><h2>Methods</h2></div>
			<div class="block2">
				<ul>
		  			<li><a href="MLocation_location.html">location()</a></li>
					<div class="description2">Obtains current latitude and longitude</div>
				</ul>
			</div>
		</div>
	</body>
</html>
